<template>
  <div>
    salarys
    <excel-upload :before-upload="beforeUpload" :on-success="onSuccess" />
  </div>
</template>

<script>
export default {
  methods: {
    beforeUpload(file) {
      console.log(file)
      return true
    },
    onSuccess({ header, results }) {
      console.log(header, results)
    }
  }
}
</script>

<style></style>
